package com.quanyan.common.enums;

/**
 * Created by zhang on 16/8/10.
 */
public enum SysCategoryEnum implements BaseEnum {
    FOOTBALL (3,"FOOTBALL","足球"),
    BASKETBALL (1,"BASKETBALL","篮球"),
    TENNIS (4,"TENNIS","网球"),
    BADMINTON (2,"BADMINTON","羽毛球"),
    RUN (12,"RUN","跑步"),
    CYCLING (11,"CYCLING","骑行"),
    OUTDOORS (10,"OUTDOORS","户外")
    ;
    SysCategoryEnum(int id, String code, String label){
        this.id = id;
        this.code = code;
        this.label = label;

    }

    private int id;

    private String code;

    private String label;
    @Override
    public boolean isSuccess() {
        return true;
    }

    @Override
    public int getId() {
        return this.id;
    }

    @Override
    public String getCode() {
        return this.code;
    }

    @Override
    public String getLabel() {
        return this.label;
    }
}
